<div xmlns:py="http://purl.org/kid/ns#" id="post_${post.id}">
    <h2><a href="/post?id=${post.id}" py:content="post.title">Post title here</a></h2>
    <div class="postmeta">
        Posted on <span class="postdate" py:content="post.post_date">01/01/01</span>.<br/>
        <span py:if="post.comment_count > 0" py:strip=''>${post.comment_count}
            <span py:if="post.comment_count == 1">comment.</span>
            <span py:if="post.comment_count > 1">comments.</span>
        </span>
        <span py:if="post.comment_count == 0" py:strip=''>No comments</span>
    </div>
    <div class="content" py:content="XML(post.html_content)">
        This is where your post's content is displayed.
    </div>
</div>